const generateNpmPackageTemp = require('./generators/npm_generator')

// 获取目标模版信息
const args = process.argv.splice(2)
const [tempType, tempName, outPath] = args
console.log('type:', tempType, 'tempName:', tempName, 'path:', outPath)

switch (tempType) {
    case 'npm':
        generateNpmPackageTemp(tempName, outPath)
        break
    default:
        console.log('what are you fucking doing?')
}